package com.caituo.idouyou.user.service.Impl;

import java.util.List;

import com.caituo.idouyou.user.dao.UserDao;
import com.caituo.idouyou.user.domain.UserDomain;
import com.caituo.idouyou.user.service.UserService;
import com.caituo.idouyou.user.system.domain.BaseDomain;
import com.caituo.idouyou.user.system.service.BaseService;

public  class UserServiceImpl extends BaseService implements UserService  {
	
	private UserDao userDao;
	
	@Override
	public void insertUsert(UserDomain userDomain) {
		// TODO Auto-generated method stub
		userDao.insertUsert(userDomain);
	}

	@Override
	public List getAllUser() {
		// TODO Auto-generated method stub
		
		return userDao.getAllUser();
	}
	
	

	@Override
	public void updateUser(UserDomain userDomain) {
		// TODO Auto-generated method stub
		userDao.updateUser(userDomain);
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	
	
	

}
